package com.binance.notification.api.request;

import java.math.BigDecimal;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import com.binance.master.commons.ToString;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@ApiModel(value = "价格提醒请求体")
@Setter
@Getter
public class AlertPriceRequest extends ToString {

    private static final long serialVersionUID = -5231364158806904761L;

    @ApiModelProperty(value = "用户ID")
    @NotBlank
    private String userId;

    @ApiModelProperty(value = "基础资产货币")
    @NotBlank
    private String baseAsset;
    @ApiModelProperty(value = "标价资产货币")
    @NotBlank
    private String quoteAsset;

    @ApiModelProperty(value = "设置价格")
    @NotNull
    private BigDecimal price;

    @ApiModelProperty(value = "设定时的交易对价格")
    @NotNull
    private BigDecimal lastPrice;

}
